projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7abb39
)
Fix a leftover window
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 8 May 2020 16:27:25 +0000
(12:27 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 11 May 2020 19:42:52 +0000
(15:42 -0400)
We were still using container api on a window here.
tests/visuals/visuals.c
patch
|
blob
|
history
diff --git
a/tests/visuals/visuals.c
b/tests/visuals/visuals.c
index 2aa83d7930d0cc590b34db0ef410246f5e9d3c60..b3232fa7b89ea315a21266d7ea6f1094ae9e2659 100644
(file)
--- a/
tests/visuals/visuals.c
+++ b/
tests/visuals/visuals.c
@@
-44,7
+44,7
@@
create_dark_popup (GtkWidget *parent)
gtk_window_set_resizable (GTK_WINDOW (popup), FALSE);
gtk_window_set_hide_on_close (GTK_WINDOW (popup), TRUE);
- gtk_
container_add (GTK_CONTAINER
(popup), button);
+ gtk_
window_set_child (GTK_WINDOW
(popup), button);
g_signal_connect (button, "toggled",
G_CALLBACK (dark_button_toggled_cb), NULL);